﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="msg_edit.aspx.cs" Inherits="HY.WEB.OA._msgedit" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
   
</head>
<body>
    <form id="form1" runat="server" >
    <div>
   <ext:PageManager ID="PageManager1"   runat="server"  AutoSizePanelID="SimpleForm1"/>
      
      <ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" EnableBackgroundColor="true" AutoWidth="true"
        ShowBorder="True" Title="写信息" Width="718px" ShowHeader="True">
         <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                <ext:Button ID="btdel" Icon="EmailAdd" Text="回收站"  runat="server">   </ext:Button>
                 <ext:Button ID="bttemp" Icon="Email" Text="草稿箱"   runat="server">    </ext:Button>
                    <ext:Button ID="btget" Icon="Email" Text="收件箱"  runat="server">       </ext:Button>
                     <ext:Button ID="btsend" Text="发件箱" Icon="EmailGo"  runat="server">               </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>
          <Items>
          <ext:HiddenField ID="hidval" runat="server"> </ext:HiddenField>
           <ext:HiddenField ID="hidsid" runat="server"> </ext:HiddenField>
            <ext:HiddenField ID="hidtxt" runat="server"> </ext:HiddenField>
              <ext:HiddenField ID="hidstype" runat="server"></ext:HiddenField>
               <ext:HiddenField ID="hidimg" runat="server"></ext:HiddenField>
                 <ext:HiddenField ID="hidowen" runat="server"> </ext:HiddenField>
            <ext:TwinTriggerBox ID="txt" runat="server"  Required="true" ShowRedStar="true"  
 Trigger1Icon="Clear" Trigger2Icon="Search" Width="600px" ShowTrigger1="false" OnTrigger1Click="ttbSearchMessage_Trigger1Click" Label="收信人">
</ext:TwinTriggerBox>
            <ext:TextBox runat="server" Width="600px" Label="主题" ID="txttitel" Required="true" ShowRedStar="true">
            </ext:TextBox>
              
            <ext:FileUpload runat="server" Width="200px" ID="fileup" EmptyText="请选择文件" Label="附件" >
            </ext:FileUpload>
             <ext:ContentPanel ID="ContentPanel1" runat="server" Width="800px" BodyPadding="5px"
        EnableBackgroundColor="true" ShowHeader="true" Title="内容面板">
                <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/fckeditor/" Height="250px">
        </FCKeditorV2:FCKeditor>
         


         </ext:ContentPanel>
        
         <ext:Toolbar>
         <Items>
         <ext:Button ID="btsavesend" Icon="EmailGo" runat="server" Text="Save And Send" OnClick="btsave_Click">
             </ext:Button>
                   <ext:Button ID="btsave" Icon="EmailLink" runat="server" Text="保存" OnClick="btsave2_Click">
             </ext:Button>
           </Items>          
             </ext:Toolbar>

        </Items>
    </ext:SimpleForm>
    <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
        OnClose="Window1_Close" Target="Top" IsModal="True" Width="750px" Height="509px">
    </ext:Window>
    </div>
    </form>
</body>
</html>
